package com.qf.dao;
import com.qf.pojo.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author Zhy
 * Date on 2020/10/9  19:38
 * @description
 */
public interface TeacherRepository extends JpaRepository<Teacher,Integer> {

    List<Teacher> findByName(String name);
}
